﻿<Button x:Class="WF.Controls.ToolbarButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	Width="auto" Height="30" Opacity="0.75" Margin="1,0,0,1">
	
    <Button.Resources>
		<Storyboard x:Name="Activate">		
			<DoubleAnimation BeginTime="0:0:0" Duration="0:0:0.2" 
                             Storyboard.TargetProperty="Height"
								 To="30"/>
			<DoubleAnimation BeginTime="0:0:0" Duration="0:0:0.2" 
                             Storyboard.TargetProperty="Opacity"
								 To="1.0"/>
		</Storyboard>
		<Storyboard x:Name="Deactivate">		
			<DoubleAnimation BeginTime="0:0:0" Duration="0:0:0.2" 
                             Storyboard.TargetProperty="Height"
								 To="30"/>
			<DoubleAnimation BeginTime="0:0:0" Duration="0:0:0.2" 
                             Storyboard.TargetProperty="Opacity"
								 To="0.75"/>
		</Storyboard>
	</Button.Resources>
</Button>
